// 首页banner模块
export const bannerModel = {
  base: {
    typeId: 'DBANNER',
    isPoster: true,
    config: {
      label: '活动banner',
      icon: 'el-icon-goods',
      tag: 'd-banner',
      class: 'banner-model'
    },
  },
  appModel3: {
    logo: {
      config: {
        label: '图片',
        icon: 'el-icon-goods',
        tag: 'd-image',
      },
      configH5: {
        imageUrl: '',
      }
    },
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: false,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 45,
        color: '#FFDCB2',
        text: '保养买四送一'
      }
    },
    time: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 13,
        color: '#FFDCB2',
      }
    }
  },
  appModel5: {
    logo: {
      config: {
        label: '图片',
        icon: 'el-icon-goods',
        tag: 'd-image',
      },
      configH5: {
        imageUrl: '',
      }
    },
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: false,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 45,
        color: '#fff',
        text: '保养买四送一',
      },
    },
    time: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 13,
        color: '#fff',
      },
    }
  }
}

export const activeTitle = {
  base: {
    typeId: 'DInput',
    config: {
      label: '标题',
      tag: 'd-input',
      noText: false,
      isDragResize: true,
      class: 'active-title-model',
    }
  },
  appModel3: {
    configH5: {
      imageUrl: '/static/image/app-model-3/share-bg.png',
      w: '60',
      h: '60',
      left: '300',
      top: '450'
    },
    dragConfig: {
      w: 60,
      h: 60,
      left: 300,
      top: 450
    }
  },
  appModel5: {
    configH5: {
      fontFamily: 'inherit',
      fontSize: 45,
      color: '#fff',
      text: '保养买四送一',
      w: '',
      h: '',
      top: '',
      left: ''
    },
    dragConfig: {
      w: 100,
      h: 36,
      left: 0,
      top: 0
    }
  }
}

export const activeTime = {
  base: {
    typeId: 'DInput',
    config: {
      label: '标题',
      tag: 'd-input',
      noText: false,
      isDragResize: true,
      class: 'active-time-model',
    }
  },
  appModel3: {
    configH5: {
      imageUrl: '/static/image/app-model-3/share-bg.png',
      w: '60',
      h: '60',
      left: '300',
      top: '450'
    },
    dragConfig: {
      w: 60,
      h: 60,
      left: 300,
      top: 450
    }
  },
  appModel5: {
    configH5: {
      fontFamily: 'inherit',
      fontSize: 13,
      color: '#fff',
      w: '',
      h: '',
      top: '',
      left: ''
    },
    dragConfig: {
      w: 100,
      h: 36,
      left: 0,
      top: 0
    }
  }
}

// 套餐模块
export const packageModel = {
  base: {
    typeId: 'DPACKAGE',    
    isPoster: true,
    config: {
      label: '套餐',
      icon: 'el-icon-goods',
      tag: 'd-package',
      class: 'package-model',
      ignore: ['4'],
    },
    configH5: {
      backgroundColor: '#D82924'
    },
  },
  appModel3: {
    listTitle_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    listIcon_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#FECD8B',
      }
    },
    listNum_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 21,
        color: '#FECD8B',
      }
    },
    listDesc_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 8,
        color: '#FECD8B',
      }
    },
    desc_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#FECD8B',
      }
    },
    listDesc_btnPrice: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: false
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 19,
        color: '#482802',
        text: '100元'
      }
    },
    listDesc_btnPackage: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: false
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 15,
        color: '#F3E0B7',
        text: '套餐名称'
      }
    },
  },
  appModel5: {
    listTitle_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '套餐名称',
        fontFamily: 'inherit',
        fontSize: 21,
        color: '#fff',
      }
    },
    list_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#3288CE',
      }
    },
    listTotal_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#111111',
      }
    },
    desc_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#999999',
      }
    }
  }
}

// 团购+套餐模块
export const groupModel = {
  base: {
    typeId: 'DGROUPPACKAGE',
    isPoster: true,
    config: {
      label: '套餐+团购',
      icon: 'el-icon-goods',
      tag: 'd-group-package',
      class: 'group-package-model',
      ignore: ['1', '2', '3', '5', '6'],
    },
  },
  appModel3: {
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    info: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#D82924',
      }
    },
    desc: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#FECD8B',
      }
    },
    listTitle_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    listIcon_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#FECD8B',
      }
    },
    listNum_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 21,
        color: '#FECD8B',
      }
    },
    listDesc_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 8,
        color: '#FECD8B',
      }
    },
    listDesc_btnPrice: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: false
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 19,
        color: '#482802',
        text: '100元'
      }
    },
    listDesc_btnPackage: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: false
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 15,
        color: '#F3E0B7',
        text: '团购套餐名称'
      }
    },
    desc_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#FECD8B',
      }
    }
  },
  appModel5: {
    modelTitle: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '套餐名称',
        fontFamily: 'inherit',
        fontSize: 21,
        color: '#fff',
      }
    },
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '套餐名称',
        fontFamily: 'inherit',
        fontSize: 16,
        color: '#3288CE',
      }
    },
    info: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#3288CE',
      }
    },
    desc: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#999999',
      }
    },
    list_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#3288CE',
      }
    },
    listTotal_normal: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#111111',
      }
    }
  }
}

// 店铺地址模块
export const shopModel = {
  base: {
    typeId: 'DSHOP',
    config: {
      label: '店铺地址',
      icon: 'el-icon-goods',
      tag: 'd-shop',
      class: 'shop-model'
    },
    configH5: {
      backgroundColor: '#fff',
      borderRadius: 20
    }
  },
  appModel3: {
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '店铺地址',
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    tableTitle: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    info: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#fff',
      }
    },
    telBtn: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#fff',
      }
    }
  },
  appModel5: {
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '店铺地址',
        fontFamily: 'inherit',
        fontSize: 21,
        color: '#fff',
      }
    },
    infoLabel: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 16,
        color: '#111',
      }
    },
    infoDesc: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#333',
      }
    }
  },
}

// 购买记录模块
export const recordModel = {
  base: {
    typeId: 'DRECRD',
    config: {
      label: '购买记录',
      icon: 'el-icon-goods',
      tag: 'd-record',
      class: 'record-model'
    },
    configH5: {
      backgroundColor: '#2D2C2A',
      borderRadius: 20
    },
  },
  appModel3: {
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        text: '已有999人购买',
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    tableTitle: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    tableCol: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#fff',
      }
    }
  },
  appModel5: {
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        text: '已有999人购买',
        fontFamily: 'inherit',
        fontSize: 17,
        color: '#1337B2',
      }
    },
    tableTitle: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    tableCol: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#fff',
      }
    }
  }
}

// 购买须知模块
export const notesModel = {
  base: {
    typeId: 'DNotes',
    config: {
      label: '购买须知',
      icon: 'el-icon-goods',
      tag: 'd-notes',
      class: 'notes-model'
    },
    configH5: {
      backgroundColor: '#fff',
      borderRadius: 20
    },
  },
  appModel3: {
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '购买须知',
        fontFamily: 'inherit',
        fontSize: 14,
        color: '#fff',
      }
    },
    notes: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#333',
      }
    }
  },
  appModel5: {
    title: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '购买须知',
        fontFamily: 'inherit',
        fontSize: 21,
        color: '#fff',
      }
    },
    notes: {
      config: {
        label: '标题',
        tag: 'd-input',
        noText: true,
      },
      configH5: {
        fontFamily: 'inherit',
        fontSize: 12,
        color: '#3288CE',
      }
    }
  }
}

// 生成海报、抢购模块
export const submitModel = {
  base: {
    typeId: 'DSubmit',
    config: {
      label: '提交',
      icon: 'el-icon-goods',
      tag: 'd-submit',
      class: 'submit-model'
    }
  },
  appModel3: {
    posterBtn: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '生成海报',
        fontFamily: 'inherit',
        fontSize: 16,
        color: '#fff',
        backgroundColor: '#2D2C2A'
      }
    },
    buyBtn: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '立即抢购',
        fontFamily: 'inherit',
        fontSize: 16,
        color: '#563404',
        backgroundColor: '#2D2C2A'
      }
    }
  },
  appModel5: {
    posterBtn: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '生成海报',
        fontFamily: 'inherit',
        fontSize: 16,
        color: '#A87949',
      }
    },
    buyBtn: {
      config: {
        label: '标题',
        tag: 'd-input',
      },
      configH5: {
        text: '立即抢购',
        fontFamily: 'inherit',
        fontSize: 16,
        color: '#fff',
      }
    }
  }
}

// 分享模块
export const shareModel = {
  base: {
    typeId: 'DShare',
    config: {
      label: '分享',
      icon: 'el-icon-goods',
      tag: 'd-image',
      class: 'share-model',
      isDragResize: true,
    }
  },
  appModel3: {
    configH5: {
      imageUrl: '/static/image/app-model-3/share-bg.png',
      w: '60',
      h: '60',
      left: '300',
      top: '450'
    },
    dragConfig: {
      w: 60,
      h: 60,
      left: 300,
      top: 450
    }
  },
  appModel5: {
    configH5: {
      imageUrl: '/static/image/app-model-5/share.png',
      w: '60',
      h: '60',
      left: '250',
      top: '450'
    },
    dragConfig: {
      w: 60,
      h: 60,
      left: 250,
      top: 450
    }
  }
}

